//package com.wiloon.java8x.datadictionary;
//
//import com.wiloon.java8x.dataImport.DataItem;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import javax.transaction.Transactional;
//import java.util.List;
//
///**
// * Created by Administrator on 2015/5/21.
// */
//
//@Service
//public class DictionaryServiceImpl implements  DictionaryService {
//    @Autowired
//    DictionaryDao dictionaryDao;
//
//    @Override
//    @Transactional
//    public List<DatabaseTable> readAllTables() {
//        return dictionaryDao.readAllTables();
//    }
//
//    @Override
//    public DatabaseTable readColumnsByTable(DatabaseTable databaseTable) {
//        List<DatabaseColumn> columns = dictionaryDao.readColumnsByTable(databaseTable.getTableName());
//        databaseTable.setColumns(columns);
//        return databaseTable;
//    }
//
//    @Override
//    @Transactional
//    public void insertRow(DataItem dataItem) {
//        dictionaryDao.insertRow( dataItem);
//    }
//}
